Second attempt to fix os_detection.js, missing parenthese.
Also, move hardcoded "download" to string.