js lint error fixed