Changed dash.js to redirect to .php files