changes example to use local files; css formatting;
adds beforeRemoveTag callback