Added game map and moved all creation of js object to Dart.