On a Magento 1.7 website the product option price is not longer updating the main price. I updated the prototype.js file which I though was causing the issue but still no luck. When I inspect the code with Firefox I can see 3 "unreachable code after return statement" on 3 files: calendar.js, product.js, configurable.js
This happened all of a sudden, no code or configuration changes have been made. Any pointers much appreciated.