js lib cleanup
changes copyright notice