Style-fixes to comply with JSLint.
Disabled regex-validation with JSLint.
Minor code-improvements.