Update script.js

if tag a has onclick and return false, ignore page move.