Catastrophic logic error.

Thanks to Sophie Franklin for pointing this out.
Minified version of previous.
Use new javascript file.