If you want to reduce page download time, you can defer loading the javascript and load it when required.