Imitation  of  jquery