Added positioning feature to jquery version