Fixed jquery call and body init error