Make prefix configurable, JS routes absolute