debugging jquery library problem