Fix js to abide by jshint singlequote rules