Fixed parse_src_js_var that is immune to page change