Create ownloadlib.js