Converts a control flow graph back into executable JavaScript for testing purposes