Update aui-datatype.js

Fix for https://issues.liferay.com/browse/AUI-1618