support for js.erb and html.erb added to extract task