added copy to clipboard button and javascripts