adding sprite.js