Fix arguments of setTimeout and setInterval not taken into account.