More JS for draw page