main-built js for the safari bug