Javascript library to add functionality to fields.
Auto adds the red background to any fields with the dynamic required attribute set.
Add the Field.js library to the site
bundles.Add(new ScriptBundle("~/bundles/shareit").Include( "~/ShareItLibrary/Field.js"));