JS Date parse extension that understands more formats