Simplified javascript binding code
Fixed dynamic lib loading on linux not working due to short cut