get_minified_js: use basename() on cached file