Update sandbox.js

Support for IE : ok