-facebook').remove();
            }
            if (!config.oauth2.google) {
                $('.btn-google').remove();
            }
            if (!config.oauth2.github) {
                $('.btn-github').remove();
            }

            function capLockIsOn(event) {
    			var kc = event.keyCode ? event.keyCode : event.which;
    			var sk = event.shiftKey ? event.shiftKey : kc === 16;
    			return ((kc >= 65 && kc <= 90) && !sk) ||
    				((kc >= 97 && kc <= 122) && sk) ? true : false;
    		}

 