moving to MVC model
Moved to MVC model with require.js

index2.html is the working file
rotate player image