Added custom callback function for directive, and shorten the timeouts

I need this for resizing my custom reCaptcha form from the default.