Make s var available outside document ready'