test browserified version of index.js in browser