fixed src/views/index.php to use requirejs