PHP Php-javascript Resources