Revert "Rename frontend.js to middleend.js"

This reverts commit fcf5617bb8f5a022f93bd4622f65aa32dec456a9.