added preParseHook/postParseHook and addRerunIndicator - updated
example.js