add initial_state attribute to jsinput tag
fix typo in jsinput template