update btn--close component demo

added small js function to easily close any element that has a button with js-btn--close class on it.