Updating script to run on window load, hopefully before jsx transformer