Ported .js implementation to audio tags

Magic awesomeness