JavaScript DataView extension for reading/writing strings