using flask app own configs to initialize jac
fixed wrong link tag