add getCordovajsRoot method