Change 'show code' button to an image and fix a bug about display test code divs