calling initialize in script tag, added jquery.min.map

view_event previous called initialize in the body tag, moved all that into the script tag. Also added jquery.min.map file that was missing and giving 404 errors.