How to retrive menu_get_object() in javascript, jQuery? I'd like to use the $node object in JavaScript, preferably Drupal's DOM. Is there a recommended way to do this in Drupal?
There are several ways to go about this.  The most straightforward is use template_preprocess_node , drupal_add_js, and drupal_json_encode.

Something like this:

function mytheme_preprocess_node (&amp;$variables)
{
  $node = $variables['node'];

  drupal_add_js(array(
    'mytheme' =&gt; array(
      'node' =&gt; $node,
    )
  ), 'setting');
}


The node will then be JSON encoded as Drupal.settings.mytheme.node.  The above is untested, but will be a decent starting point.  Keep in mind that if you have multiple nodes on a page, then this will get called multiple times.  You would need to add some logic to handle these cases.

If you do this as part of themeing, rather than a module via the Node API, then all modules that alter  the $node will have run at that point, so all data should be there.  Personally, I would only add the data that I need.  $node can get pretty big, so adding all of it would be a lot of JS on a page.