Add option for custom js (like custom css)

* Add a new 'js' flag to indicate you want to embed a file named 'custom.js'
  which should exist at the root of the wiki
Merge pull request #661 from simonista/custom-js

Add option for custom js (like custom css)