always cache ports (also for reading)
added some js namespaces
tesing binary arrays