Fixed js lint problems