Update ResourceDayView.js

issue #15