Added zeroing code back for browsers which don't support typed arrays