fix bug that strict comparison unveiled

- routine[0] is actually undefined (rather than null) when the array is emptied
- use strict mode
- use unprefixed AudioContext constructor (works in Chrome)
- remove unnecessary blank line