Fix #138 by using toUpperCase() during dataType test