added show/hide functionality for clinic add fields
moved most actions and some functions to Template.content.rendered, social div now successfully hidden. Converted some functions into local variable scope