Fixed some JS