Converting to coffeescript, other minor improvements