attach jquery event when all partials have been loaded