pushed js to separate file