JQuery flow added and tested. Further, we can define our script in js file under resource/js and then call JQuery.runJS() or JSExecution.run() to run scripts.