Initial commit of navigation controller js