updating javascript resources