Add in some background music and refactor JS code