Load custom page JS when YAML flag is set

Loads a Javascript file for a page when a flag is set in the YAML front matter.

The `.js` file must be located at `/js/*location of page without extension*.js`. For example, the `.js` file for `/foo/bar.html` would be at `/js/foo/bar.js`.