Implement the dynamic javascript file on grid.