How to add an error notice with jquery?
Drupal uses messages as the 'base' class for messages so this should work:

jQuery('h1').prepend('&lt;div class="messages error"&gt;Start&lt;/div&gt;');


Note that you shouldn't escape double quotes inside a string unless the string is actually wrapped in double quotes.