Question: In Magento 1.9 CE, if we browse the product reviews page, it displays an error

> 
> TypeError: image.elevateZoom is not a function
> 
> 
> 

This is because, magento is zooming image in product page using this [plugin](http://www.elevateweb.co.uk/image-zoom/examples)

the JavaScript interpreter, because of a failure shuts down on this page, JavaScript is not executed. This leads to decreased functionality of the page.

Can anyone help me on how to remove this error so that I can use js on this page?

[These](http://magento-forum.ru/topic/4430/) guys say they have solved the problem, but I can't get the solution.

I have asked the same [question on Magento Stack](https://magento.stackexchange.com/questions/26354/typeerror-image-elevatezoom-is-not-a-function-bug-in-magento-1-9-rwd-theme).

Answer: 
I've got the same issue - not that it's a complete solution but it certainly stops the error for now, by stopping the function being called on the review page.

in the file /skin/frontend/rwd/default/js/app.js

line 649 change

```
image.elevateZoom();

```

to

```
if ($('.review-product-list').length == 0) {
image.elevateZoom();
}

```
Open `app/design/frontend/your-package/your-theme/template/catalog/product/view/media.html` Comment below section of code 

```
<!-- <script type="text/javascript">
    // <![CDATA[
        Event.observe(window, 'load', function() {
            product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
        });
    //]]>
    </script> -->

```