Fixed js copy-paste syntax error.