added logic and documentation for widget-specific storageHash
jshint fix
added dist