For the troubleshooting script errors in Internet Explorer, refer to the below link on How to troubleshoot script errors in Internet Explorer and check if it helps.
https://support.microsoft.com/en-us/kb/308260
If the script error persists for the OneDrive, then suggest you to post your query in the OneDrive Forums.
http://answers.microsoft.com/en-us/onedrive
Regards
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.