move some logic to JS
Merge branch 'master' of github.com:xlos/HDFSManager

Conflicts:
	index.php