Fixed jquery wrap issue. For some reason when you create an object and use it to wrap another, the wrapper element can not be selected. Solved by wrapping using a string rather than an object