Replaced isDate() with object-general method.
Removed HTML based test with real tests.
Added test file.
Added .gitignore and package.json for test integration.