add functions to provide official api js urls