fix dataType being set for $.getJSON

Fixes #674