removed unneeded indexOf
refactored week view schedule builder
removed double quotes
Merge pull request #1108 from affektive/refactoring

Refactoring