fixed hasAttr() fnc
updated JS-files in folders other than /demo