Updated javascript to change pricing when option value is changed