try changing the function sequence signature to cater for IE8