renamed main to compute.js