Made messages.php always use the functions provided by messages.js for showing messages passed via localStorage.