Player status update. js moved to separate file