fixed missing function bug
imported in text instead of JSON.  Fuck you javascript