change assertion for DynJS