renamed protocol.js to proto.js