Another Html5 compatible extension method.