Fixed stupid syntax error in js