Add platform as a global to the frontend