edit stub.js