fixed created/modified issue

also added argument for getFocus()
made brace notations consistent
removed debugging code
gave titleHeading an id for css selector
made variable names more descriptive
disabled title input if modifying a note (need localStorage key to be consistent)