Moved all functions from index.js to services.
Merge pull request #8 from jfalguera/master

Browser dropdown pull request
Updated