Fixed use of bogus var and removed trailing comma for IE.

Change-Id: I6824e83299a95afd3ac1e6bb9883deda5aa9b9e9