Fix broken csvness
add some javascript, start hooking things up