fixing some tabbing
changing indentation
removing nused code
renaming main application controller
converting popup to use angularjs controller framework
removing unused js imports
null json values when there user clicks the context menu checkbox
removing obsolete files