Adding back the bounds in main.js