Changed fallback setTimeout to 4ms. Added missing semi-colons.