fixing broken syntax in the vms refreshes ajax