Fixed incompatibility issue with jQuery version less than 1.4

The following functions are available only for jQuery versions starting
with 1.4:
1) .first() method
2) creating DOM elements with attributes via jQuery() function

Request: http://www.ecwid.com/forums/showthread.php?p=94402#post94402