Moved js source to coffeescript and added email import