#4: js methods replaced in js file from graph_screen