Fix js not equals command in if-statement