Moved building of JS-Array from template to module
Merge pull request #6 from davidmaack/master

Moved array-building from template to controller