Edited main.js