eliminate duplicate .js.js in ref symbolpath
remove superfluous lib/