First jquery plugins. Looks like spaghetti.