Fixes the modification of the default options array

- Multiple directives on one page did modify the defaultOptions array
- This commit moves the default options into the getMergedOptions function to avoid overriding of default properties