Add viewport
To test viewport:
* Had to move loadEntries above get
* Fix JS errors that were happening on /edit/ that I had never noticed