toJavaScript: fix printing arrays
Fix handling of Pagination extension in generated code
Add generation of mock data
Add data, store, and grid startup to generated code