Added request animation frame to Game.js for device which doesn't
support it. 
Add id to image object.
Improve how default locale is obtained