Add snippet for document ready (jquery)