Added js and flash fallback for "copy" buttons