Compares the complexity of two JavaScript fragments