updated main to check if web audio is supported and use relative module