fixed some jquery madness (my fault)