updated javascript for downloads page, removed use of require js and included dependencies in the javascript_head_slot