Blank web page or 'dhtmlXForm not defined'

When I attempt to run the ‘Attach to Form’ sample, I get either a blank web page or ‘dhtmlXForm not defined’ in the browser debugger (IE 11.x, Chrome 51.x).
myForm = dhtmlXForm(“myForm”, formData);
Web page is in the directory just above the dhtmlx calendar code, which is in the directory ‘dhtmlx’.
Tried coding explicit paths, ./ …/ and running the .css and .js files in the same directory as the web page, but nothing works.
No modifications to the code other than the paths.

Attach to form

Hi,
Probably you did wrong in calling object constructor of form
Yours :
myForm = dhtmlXForm(“myForm”, formData);
}
The correct way:
myForm = new dhtmlXForm(“myForm”, formData);
}

Hello,
I have corrected your code, try to start it.

Attach to form
var myForm, formData;

formData = [
  {type: "settings", position: "label-left", labelWidth: 120, inputWidth: 145},
  {type: "calendar", name: "start_date", label: "Start Date", value: "2016-03-28 11:00", dateFormat: "%Y-%m-%d %H: %i", enableTime: true,calendarPosition: "right"},
  {type: "calendar", name: "end_date", label: "End Date", value: "2016-03-29 12:30", dateFormat: "%Y-%m-%d %H:%i", enableTime: true, calendarPosition: "right"},
  {type: "calendar", name: "empty_date", label: "Empty Date Test", dateFormat: "%Y-%m-%d", calendarPosition: "right"},
  {type: "calendar", name: "with_icon", label: "With Icon", dateFormat: "%Y-%m-%d", value: "2016-06-01", calendarPosition: "right"}

]

myForm = new dhtmlXForm("myForm", formData);

</script>

added ‘new’, same results.

The same code works for me locally
docs.dhtmlx.com/snippet/b4d873262