             scriptTag.type = 'text/javascript';
             scriptTag.async = true;
             scriptTag.defer = true;
-            scriptTag.src = "//www.google.com/recaptcha/api.js?onload=#{onloadMethod}&render=explicit" + if _languageCode then "&h1#{_languageCode}" else ""
+            scriptTag.src = "//www.google.com/recaptcha/api.js?onload=#{_onloadMethod}&render=explicit" + if _languageCode then "&h1#{_languageCode}" else ""
             
             s = $document[0].querySelector('body')
             s.appendChild(scriptTag);

                    
                    _grecaptcha.render element, _params
                
                getParameters: ->
                    _parameters
                    
                getGrecaptcha: ->
                    _grecaptcha
                    
                getLanguageCode: ->
                    _languageCode
                    
                setLanguageCode: (languageCode)->
                    if _languageCode isnt languageCode
                        _grecaptcha = undefined
                    return
            }
            
        return
        
    app = angular.module('grecaptcha', [])

                    
                    promise
                    
                render : (element, params, onSuccess, onExpire)->
                    _params = angular.extend {}, _parameters, params
                    
                    if not _params.sitekey
