Bugfix to allow compiling with Closure Compiler
Fix warnings from Closure Compiler

These changes fix the warnings presented by Closure Compiler on the
simple optimizations setting.
Fix and cleanup JFormer::select and ::remove

There were some incorrect member variable references in both functions.
Also made the variable names consistent in both functions.
Bugfix for matches validation option in text input

4271e7fb renamed selectJFormComponent() to select(), but the reference
in JFormComponentSingleLineText's matches function was not updated.
Bugfix for 'teenager' validation on date inputs
Bugfix for displaying success page in JS
Bugfix for scrolling to a new page in JS
Bugfix for displaying success page in JS
Merge pull request #10 from Hamled/burningsea

Bugfixes for JS compilation and validation options