refactoring js in prep for new features
Merge pull request #2 from Postmedia/refactor

refactoring js in prep for new features