Simple flask app for using javascript