undo delete of main.js script because the image would not work