Replaced document.write code with jquery each function for cleaner HTML and also to enable use of AJAX HTML return values
Bugfix in Predict.php: 140 was min instead of max number of chars