bug fixed for email boxes
Merge pull request #152 from dontmitch/email-boxes-fix-in-js

bug fixed for email boxes