A web-based pug system for NS2