Javascript snippet that toggles a red border around all elements