Fixed a bug where rotations didn't work
Added sprite.js to html