performance considerations

This is the very beginnings of work to optimize performance of the loader.
I have noticed these asserts being very costly. Especially lower powered devices such as mobile.

creating/using the following help method instead helps dramatically.

```js
function assert(assertion, message) {
  if (!assertion) {
     console.assert(linkSet.loads.length == 0, 'loads cleared');
  }
}
```