Please use JS style bracing, `if (id == -1) {` (on the same line as the if.