Separate out graph_page_data.php JS into separate file