FIX: missed comma in detect.js

The missed comma can cause problems, better to be safe than sorry.