fix sketch and main.js