fixed emoji scanner (compat with java 6) closes #5