introduced layout component as jquery plugin