changed API endpoint to include page_title parameter; page parameter now uses more modern location.href