Excel Vba Substring Function In Javascript Definition