Updated license.
Updated JS lib to 1.0.4.