JavaScript SDN framework