Replace templated-based tables with dynamic javascript ones