Updated JS lib to 1.0.5.
Updated license.