Fixed a mistake.

I reinstated the old JavaScript I had before the reboot (thank god for
Git's commit history). I think I was more annoyed at PHP than anything
else. Now that I have a fully local environment I realised I now have
to work on the frontend, which I don't want to do in Dartium. I'm not
entirely sure what direction this is heading in. Dart was cool as a
test but I don't know if I can commit to that yet.