rewrite: autofocus on text field and and maxlength to title field