Add execute.js and turn test_existence.js into a reusable module