[TASK] Respect application.context setting on client

* JS function getBaseUrl()
* Relative urls in css