JavaScript function hacking and injection library