add a remote.js file for library integration