Imported code for player

Imported code for player
You can use dataArray.forEach(function(comment) { ... }) instead of this for loop boilerplate.