Adds js dependencies