Fix #597 - Down arrow key problem in Firefox 23/24

There is a problem in Firefox 23/24 when using simple assignment like cell.columnId = id to define property to dom objects.  Use Object.defineProperty does not have such problem.  So use this whenever Object.defineProperty exists.