remove from date prototype use a function and add info for npm publish