Fix js lint warnings