moved the javascript into its own file and made it more html5 like using data attributes