merged master into Js binding wip 

@perlun: i merged master into our wip branch to close the gap a little

i will maybe find time to integrate this feature next weekend