- Updated javascript functions for the pricing tool