# Browsers

You can add ADSJS on your web page in a single `<script>` tag. Bundles are available for both full library and for its parts. Please note that if you use many different algorithms and data structures from ADSJS in your project it may turn to be more efficient to load the whole library at once because sub-bundles may have some code in common.

To add ADSJS into your project load it on your web page as:

```markup
<!-- in the example below put correct values instead of < ... > -->
<script src="<path_to_your_scripts>/ads-js<.min>.js"></script>
```

Then access any loaded class/function via global `adsjs` in your source code.

You can load source maps as well if you need debugging. All bundles and source maps itself may be found at `'dist/bundles'` in package installation directory.

{% hint style="warning" %}
This library is built for ES6 by default so ensure all your target browsers have support for it. Rebuilding this library for earlier versions of ECMAScript is on your own decision.
{% endhint %}

Visit [PUBLIC API](/adsjs/api/how-to-read.md) section to get further details about capabilities of this library.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alex-myznikov.gitbook.io/adsjs/getting-started/browsers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
