Fixes #8 - Separate javascript and css from directory.html

Fixes #8 - Separate javascript and css from directory.html to be compliant with content security policy