using flask assets instead of preprocessor