add 'use strict'
make it jslint compliant
stop reconnecting after force close

If close() is called when the websocket connection is down it should not try to
reconnect.
Merge branch 'jslint'

Conflicts:
	reconnecting-websocket.js