Fixed JS hint errors

Minor fix that JS hint was complaining about.