mvp with bad js