Fixed syntax error in js-files