make main.js link absolute

it 404s on non-root pages if it's relative