enable a js runtime