Im new to coding and actually in school for it. After watching some videos, Im building an iOS app using Titanium Studio. My first window in the Tab1 is giving me some issues. I added a navigation window to it and now it's not working right. When I run the simulator and click on the 'button', nothing happens. Not sure if its my 'return object' or what. Please help!

(please note- I haven't learned Alloy so please keep it to basic javascript in titanium)



Code:
// Button Window
function OpenWin(){

'use strict';
var mainWin;

mainWin = Titanium.UI.createWindow({
    backgroundColor:"#e8e8e8",
    width:320,
    height:387,
    top:0,
    title:"window 2"
});

return mainWin;
}






// Main Window

function WinOne(){

'use strict';

var winOne, openBtn, navGroup;

winOne = Titanium.UI.createWindow({
    backgroundColor:'#e8e8e8',
    width: 320,
    height:'auto',
    top: 0,
    barImage:"/imgs/JFLnav.png",
    statusBarStyle:Titanium.UI.iPhone.StatusBar.LIGHT_CONTENT

});


// BUTTON
openBtn = Ti.UI.createButton({
    title:"MENU",
    width: 80,
    height: 35,
    top: 30,
    color:'#000',
    style:Ti.UI.iPhone.SystemButtonStyle.PLAIN
});

//Navigation Window
navGroup = Titanium.UI.iOS.createNavigationWindow({
    window: winOne
});

// winOne.contaningNav = navGroup;


//event listeners
openBtn.addEventListener('click',function(e){

    var newWin = new OpenWin();
    // newWin.contaningNav = navGroup;
    navGroup.openWindow(newWin);
});

winOne.add(openBtn);

return winOne;
// end of function
}

exports.WinOne = WinOne;