use vanilla JS, coffeescript is confusing things too much. Added validation for uniqueness on names (request-heavy! better to do it clientside really.)