Fixed the cancel button in the Edit view, cleaned up some of the hackier JavaScript, changed any styles with ID selectors to classes