Added "onOpacityWillChange" javascript API
Fixed log