Implement JS.do function to insert JavaScript code to generated code.
.