minor modifications for ajax price modifications. no functional impact. Saving code snippets in comment