JavaScript.isEmpty: Don't break if the asset could not be parsed.
Release 1.5.11.