changing all php to html and js