PiratePig HTML5 improvements