Static URLs

Correct URL resolution of static assets, fixes #2