Move sprite function to sprite.js
Merge pull request #696 from kevinsimper/moveSprite

Move sprite function to sprite.js