2.0 Go go go - Better and more judicious checking for where to load JS and CSS.