Audio tag attribute issue
<p>I need to create audio tag with bunch of attributes.</p>

<p>I have </p>

<pre><code>var audioPlayer=document.createElement('audio');
var audioSource=document.createElement('source');

     audioSource.type="audio/mp3";

     audioPlayer.controls="controls";
     audioPlayer.autoplay="autoplay";    

$('div').append(audioPlayer);
</code></pre>

<p>My html become:</p>

<p>in Chrome</p>

<pre><code>&lt;audio controls autoplay id='test', class='classname'&gt;

&lt;/audio&gt;
</code></pre>

<p>in FF</p>

<pre><code>&lt;audio controls='' autoplay='' id='test', class='classname'&gt;

&lt;/audio&gt;
</code></pre>

<p>What should i do to create these in javascript? Thanks a lot!</p>
