Temp fix on inserting JS into spp main page