Javascript in a robot form | Painting