Refactored code for readability
Merge pull request #1 from mikesir87/master

Refactored javascript