Updated js and css

Moved the goto js to be a part of the html document
Updated js to be compatible with the changes to sessions/records page
Added links to the original example where the css/js are taken from