Create NineGrid.js

How to select innerHTML rather than div?