fixed stock date list, refactor some functions for reuse refs item:459
removed excess space
Merge pull request #317 from musamusa/bug/fix-stock-count-date-list

Bug/fix stock count date list
minor jshint fixes
Merge branch 'upstream-develop' into bug/hold-to-count