Implemented a run command for Javascript code