Updated snippet context
Added example to nav-dropdown.js