Add imenu for javascript