Added jshint linting and a simple test exemple
Updated documentation