Empty date selection fix + license in js header