add initial_state attribute to jsinput tag
Merge pull request #4292 from terman/jsinput

Supply initial_state attribute for jsinput tag