Started making changes for converting to functions from triggers
Tried associating selectors to strings to make calls simpler
Added uniqueId to selector instead of previous mapping from strings to selector. Made binding of keys easier
Refactored to make cleaner for updating bookmarks
Made changes for binding click
Minor changes to remove event passing when not necessary
Added proper alerts for help in debugging in case of bug. Added missing event paramters from click events. Changed names of functions to be clearer
Merge pull request #1 from anshbansal/js_convert_to_functions

Js convert to functions