modularized js
rm leftover in main.js
exception handling for malformed requests
seperated graphical views and ajax slots