Adding validation settings to the plugin so that we can loop through them and generate JS