support for local vesion of basis.require in js resources