fixes github Issue #17
removed unnecessary jquery plugin
DRYed the html in the views add_patient_form and update_history_form. Also removed some dead code in the js file.