Updated design of new and show pages, and updated javascript validation