Add support to optionally initialise JS code from the sbtx web
application