Is there a way to package this so it can be linked as a script / used as a function in an html page, similar to papa parse?