Works with PHP files like jQuery with DOM