Declaring javascript variable such that it doesn't become global.