Fixed JS

Fixed naming conventions in JS to match