If you make a game that can be played offline, then make it OFFLINE without a stupid html file. Make it an application file.