No, you still need to have 20 somewhere, to convert from the number of cells to the number of pixels. This can be done at the javascript level, but you still need a constant.