Added JS module
Added example of usage