Added main menu. Hooked up javascript calls to C# methods.