fixed a scope problem with the parsed string. new js, not minified yet