A Hardware/Software co-simulator based on browser-server model