player javascript functions