fixed flask url typo
removed ununused js
fixed import after path change
oops