Updated JS lib to 1.1.2.