Adding a directory for javascript object data navigation