[frontend] Nav scripts moved to separate coffee file.