Buffer scripts and output them after loading jQuery