prototype to address the issue #561

prototype of using native appendChild method rather than jQuery append using node or fragment