Changed form submission defs from index.html to hoodeye.js