fun with javascript grid painting. (Sounds boring)