removed syntactically incorrect JavaScript (extra ||)