EDIT: This only happens with IE (tested on IE10)
I have a app that loads fine initially, however, when refreshed it gives this error:
SCRIPT50
We had the same issue only in IE. It was caused by a typo (some cat must have stepped on the keyboard):
The leading space in the value of the type-Attribute was causing the problem. As soon as it was removed the app worked fine again.