Uncaught TypeError: window.url is not a function

Problem was resolved by removing broken heatmap plugin.

send me code for the script. i will check