resize elements and delete unused jquery plugin and other minor params.