Use eastermask properly. Bugfix by using Date.UTC.