figuring out that js