added configuration to validate config object, modified the config loader to look into places where the ringcaptcha.js should be placed.