toTitan.js file to eventually be used for automated addition to titan database