base: baseUrl for require.js

* Fixes the base path for require.js module which were loaded from a
  relative path instead of the absolute one.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reported-by: Kamil Neczaj <kamil.neczaj@cern.ch>