Replace all static urls "?edit", "?edit_off", "?build" to changeable variables "?CMS_ADMIN_TOOLBAR__EDIT_ON", "?CMS_ADMIN_TOOLBAR__EDIT_OFF", "?CMS_ADMIN_TOOLBAR__BUILD".