used proper jquery feature of adding element