Make getCSS and getJavascript methods compatible with PHP 5.4 + Add static keyword