Checking if automatism is active doesn't work on HTML5

It always seem to return false and so events don’t run. I’ve narrowed it to just that condition and it works on native.