create a application window js to share common properties of all window