Fix bad js