make karma work with phantom browser