[CLEANUP] Reformat IRRE JS code