added version to javascript