Unique urls (via url parameters)

Solves issue #2 by modifying url parameters to create the unique urls. Moved stuff around (moved javascript into a javascript file and out of the html)