began js refactoring to include
Parse Functionality