Grids: Push code into js, async refresh based on json