Integrating JS libraries into project