station_player.js rewritten