Using $.trim() to clean up AJAXed-in menus before appending.
Merge pull request #1926 from pjackson28/v3.0

Using $.trim() to clean up AJAXed-in menus before appending.