move amplitude.js to index.js
add browser amplitude support
move embed code into build plugin so we can track page load time