moving code from pagescript to utils
page_script.js organazing
adding event tracks to page_script.js