Update ie10.js

Take advantage of chaining