some js lint warnings