JavaScript prototype for Block Time