Front end script and css loading conditionally with upto wp 3.0
Changes for compatability with older versions of WP