this.period = parseInt(period, 100) || 8000;

TestOne
this.period = parseInt(period, 10) || 8000;

Test Two
this.period = parseInt(period, 10) || 800;


What's your Red Thread?
this.period = parseInt(period, 100) || 8000;
this.period = parseInt(period, 10) || 8000;
this.period = parseInt(period, 10) || 800;