adding js utilities