JavaScript fault injector written in JavaScript