The detection can be added to the util.js.

I like making "black and white based on the endianness of the platform"