Fixed jquery document ready function call