I don't understand why the addRow method isn't reading the parameters and I know for a fact they are initialized.
In php
echo "<script> addRow(".$song.",".$artist."); </script>";
JavaScript method
function addRow(s,a){
document.write("test");
}
echo "<script> addRow('$song', '$artist'); </script>";