meld and trace ported to simple js, whithout require. meld_log included