HTML5 game asset manager