Throw in strict mode into every part in OUJS

* Moved some code around to accomodate this
* Fix undefined variables including one from #246 if this gets merged in first

---

Using this mode helps us enforce our existing STYLEGUIDE.md not to mention it's cleaner.

Tagging as sooner to expedite because it should be BLOCKING everything else so we don't continually make these mistakes.

Tested on dev.