Move javascript inside functions
Favor single quotes over double quotes for strings
Remove trailing comma
Merge pull request #56 from ryanathasoffers/fix_trailing_comma

Remove trailing comma
Remove undefined param due to conflict with closure compiler
Merge misc_cleanup
Merge master
Merge branch 'misc_cleanup' into misc_cleanup_2
Merge pull request #54 from ryanathasoffers/misc_cleanup

Move javascript inside functions
Merge pull request #55 from ryanathasoffers/misc_cleanup_2

Replace double quotes with single quotes
Resolve whitespace-related linting issues
Merge pull request #57 from ryanathasoffers/misc_cleanup_3

Resolve whitespace-related linting issues
Few miscellaneous cleanups to simplify logic
Added jsdocs for all functions

Renamed 'displayCtrl' to 'displayedMethod' for clarity.
Merge pull request #58 from ryanathasoffers/misc_cleanup_4

Few miscellaneous cleanups to simplify logic
Correct return type for buildApiConstructor
Merge pull request #59 from ryanathasoffers/jsdoc_cleanup

Added jsdocs for all functions