dumb string insertion util for node.js