adding JavaScriptSampleGenerator