The html file is just a default page with a canvas and some infos, the rest is basically javascript files that are the game itself and media/graphic ressources, I am not sure what you want to know other than that by "how much is it based on javascript".