adding js dependency