Refactor dynamic js loading to use jQuery instead of Yahoo.Util. On the other hand also extend the capability to load css.