SQLAlchemy, Flask, JS Exercise