base.js: fix handling of absolute url. Github commit: ee7c674