made jquery feature work