Properly resolve asset urls. Fixes #16