the micro network protocol implemented in javascript