Hi,
In javascript code generation template you are doing deletion of content type header in case of multi part form data. Code crashes saying "Cannot read property 'indexOf' of undefined" if javascript conversion is called twice and if same snippet is converted to other language content header will be missing.
Ex:
var snippet = new HTTPSnippet(data);
console.log(snippet.convert('javascript'));
console.log(snippet.convert('javascript'));
Regards,
Karthik M L