removed no longer needed constant from main.js
minor refactoring and cleanup in main.js
made audio playing system so there's always a spare element to play