use jquery.clipboard.js to simplify copy action.