chromosome_view.tt wait for jquery done