updating javascript and VERSION file