properly extend jQuery and use jquery component