Rename file for consistency.
Use subarrays as browsers (chrome at least) don't support slice.

Works correctly in node, also.
Update generated file.
Version bump.