invoke compiled js script