add support for an initValue attribute for standalone use
Added specs and documentation for the init-value option

See issue #2