Init fields (js, css) only when the field is used. Remove deprecated methods