graph02.js function formating and move