Fix Java 5 compatibility (https://github.com/tntim96/JSCover/issues/150)