added Sprite.js class and demo in snippets