Javascript Paint Program for Hacker School application