fix issues with mainJS
Merge pull request #10 from kcrabtree1225/kc-add-player

fix issues with mainJS