Fix js spelling

Fixed mis-spellings of JavaScript for Git Issue 174