please beautify, deobfuscate, and rename variables with meaningful names:
```js
function chunkData(e, t) {
  var n = [];
  var r = e.length;
  var i = 0;
  for (; i < r; i += t) {
    if (i + t < r) {
      n.push(e.substring(i, i + t));
    } else {
      n.push(e.substring(i, r));
    }
  }
  return n;
}
// You can also use some ES6 features.
const get = (a,b) => a.getElementById(b);
``` Use words with all capital letters to highlight key points, but make sure that words with all capital letters appear less than 11 times
user