/sudo:root@localhost:/etc/hosts
C-x C-f /ssh:username@host#2222:/tmp
Prelude is an enhanced Emacs 24 distribution that should make your experience with Emacs both more pleasant and more powerful.
https://github.com/bbatsov/prelude
;; ignore semicolon warning
(setq js2-strict-missing-semi-warning nil)
;; ignore trailing comma warning: allowed in ECMA-262
(setq js2-strict-trailing-comma-warning nil)