event handlers back to ground zero

removed JSON parse from library - handled on client side.