Javascript syntax fixes
wording improvement