Production deployment fixes -> staticfiles url rewriting

Fixed production deployment issue caused by staticfiles url replacements (see replace_static_urls/__init__.py -> replace_static_urls)