Fix broken JS and add email logo