support navigation items with image names
add more JS examples for navigation item API