code: function(hex) {
        var pow, result;
        result = 0;
        pow = 0;
        while (hex.length > 0) {
          result += parseInt(hex.substring(0, 2), 16) * Math.pow(2, pow);
          hex = hex.substring(2, hex.length);
          pow += 8;
        }
        return result;
      }
docs: Parse a litte endian number.
  @author Jim Rogers {@link http://www.jimandkatrin.com/CodeBlog/post/Parse-a-little-endian.aspx}
  @param {String} hex The little endian number.
  @return {Number} The little endian converted to a number.