separate window format js file
file organization