write HTML in nearly pure javascript(coffeescript)