Bug fix and retrieved main.js