Adding some javascript for handling email submissions and keeping track of users who visit but don't sign up