Merge pull request #1920 from pjackson28/v3.0

Removed creation of jQuery object before appending AJAXed in menu content to fix issue #1919.
Using $.trim() to clean up AJAXed-in menus before appending.