all exported JS API functions to own file
proved display creation works, albeit ephemerally :)