assetgen: rework AbsurdJS support to enable relative imports.