improve micropost_input_counter.js