Adds valid? method call to form.
Precompiles assets.