fix dashboard freezes

Perform ajax request synchronously freeze the UI until the request is done, bad idea.

3.4 and master also needs this fix.