checking in js fixes
Merge pull request #197 from meganap/agut

checking in js fixes