rename module js to msg, pick up common interface