rewrite ajax
add SQL syntax highlight (WIP)