added option to fix long running script on updates in older browsers