JS refactor and bug fixing

- Fixed bug where links would error out depending on whether
they ended in a forward slash
- Properly namespace javascript files
- Demo link in case scraping attempts receive 403 error