adding front-end code for banner editing