changed js lib