Added support to automatically inject base path for URL assets (css, external js, etc.).