use &amp; instead of ampersand sign
passing ga var to main function