How to get name of day using Date() object in javascript.