Use b64[char] instead of b64.indexOf(char)

By replacing b64 String with and Object and searching for char index in an object this function get twice faster (~ x2.5 faster).
b64 object has to be computed only at first call to this function.