Prepend log message in ajax. Closes BV-5.