hook jquery, need little review to ommit bad creation of tag