fixed jquery problems