create stub.js