to coffeescript, adding destroy, adding mongodb