Rename middleend.js to frontend.js