added qunit example
added mocha example
added json serving support