downloading js dependencies