Updated compare.php javascript to accommodate tricky stuff--still needs more
Improved the formatting
formatting update