Revert "delete main.js"

This reverts commit bec01c884fcf5d910cdee6235e90493fa93b9bb9.