added versioning to js