Fixed script error.

Ran into this issue so I fixed it: http://stackoverflow.com/questions/7911439/uncaught-typeerror-cannot-set-property-unobtrusive-of-undefined