Weird API

Fixing some JS for retrieving controller json data from our API :D