minor update for javascript