add external js and rename the index.php to example.html