also update javascript after allow to configure pricing models