update javascript typedef snippet, replace all tabs w/ spaces