Fixed #32

Also more linting of telldus.js because of stricter settings
in .jshintrc