Updated the JS in getPrice