made input id consistent
correction so 'new game' button asign input values rather than assigning jquery object