Added var javascript snippet.