Jquery definition without failure 100%