add js file

For the developper who need only the js file, here it is.

Thanks a lot for your work.