Removed date.js as dependency. Fixed #2