Use jquery-boilerplate and load css gallery before window.load