organizing js