#3 fix sprite.js