WINE-8: type caused js error and script to stop working.
Merge pull request #1385 from rockfruit/anneline-setupdata-typo

WINE-8: type caused js error and script to stop working.