Change copy-path into two separate buttons, one to copy path and another for parent directory; JSLint; use more human-readable APIs; hide parent button if at root