Factored out jquery double click
Acceptance tests housekeeping