Various bits needed to be hacked up a bit since it was written for a newer JS standard, but it's at least 11 better than 42.