Implementing Screenshot functionality

I needed screenshots from within SAHI. To implement that i took the html2canvas library http://html2canvas.hertzen.com/. I am now injecting the library on the fly and creating a "Screenshot". Works quite well for me. The only thing i am not really sure about is: where to put the js? it COULD be installed via bower. Any ideas?