Remove 'Toggle View' link from the report
Move javascript out of template