Polymerization of bromoundecylacrylate and alkylating methylimidazole