Doesn't send counts to the client side if they should be hidden
Add JSONP ajax call & fix various bug