Use native document instead of jQuery for element insert