add script and demo page to pages repo