Redid changes to JS code
Merge pull request #45 from jehope/msnRedoProjJSMods

Redid changes to JS code