Bearer token and Base Url are now in JS, so it's possible to use it without PHP.