jquery plugin i was trying to make