Fix for IE10 readattribute test

https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/1631-expected-identifier-error-on-page-load-in-ie-10