added monkeypatch.js