fix es3SafeRecasting to happen for travis/production