Image, sprite, sound loader for HTML5 games