Added Javascript for showing/hiding option to include download link when embedding is active/inactive.