Update opentoken.js, Date validation and tests
Update package.js, minor rev