Fixed API._parse_src_js_var against source HTML change