Fix query param for main.js