Code cleanup in filebrowser.js
Adds play states to player.