add version to js lib