Few notes here. 1. `$.parseJSON()` is a fairly expensive function on large structures (ie. MOFs). It's almost always better to save a function's output over running it multiple times. 2. In the spirit of keeping the `imolecule.js` interface small (and in accordance with above), this kind of logic should be in `imolecule.draw` and not require any extra function calls. At the end of the `.draw` method, put something like

```javascript
if (molecule.hasOwnProperty("periodic_connections")) {
    this.drawCell(molecule.periodic_connections);
}
```