percent for javascript