Update Sprite.js

Fixed a minor typo in Sprite constructor