fixed production url
slightly reworked assets loading