PLD: refactoring io library for cljs ajax