init package price data and minor js improvement