named binary tag (minecraft) parser in pure js