break out javascript into separate file
update profile template
merge changes to index.html
update email template to include profile name in email field