Modified syntax for easier orientation in code
Added dependencies as arguments to anonymous function
Changed syntax for readablity and performance
Merge pull request #7 from synergic-cz/feature/improve-js

Feature/improve js