progress towards a wmiirc.js