minor js lint'ing