Fixed js syntax error;

Signed-off-by: Pankaj Singh <psjinx@gmail.com>