added update action for contacts_controller
javascript bug fixed
remove unnecessary js file