add lib.js route