bundle external JS dependencies