Fixed missing $ in some JS