Updated javascript for the hide-drawings X button.