change javascript file structure to require dependencies within each sub file
Merge pull request #44 from rootulp/master

change javascript file structure to require dependencies within each sub...