Add javascript detection to index.psp

Fixes #489

Screenshot of the rejection page (nojs.html) below:
![screen shot 2013-08-09 at 3 19 20 pm](https://f.cloud.github.com/assets/2574407/940325/bb10ffde-0129-11e3-8a7d-25707a41f104.png)