fixed Pagedown JS integration