If functions like this are small one liners they can probably warrant being anonymous? Alternatively, here you could just use:

`$('#nav-tray-close').on('click', trayMenuClose);`