Use @remy's loop-protection from jsbin for infinite-loop-busting