fix warning messages in browser console for week view
Merge pull request #349 from sameertotey/master

fix warning messages in browser console for week view