update deps & update readme & make it usable from javascript