This is not an early return, so omit the keyword. Also, use `or`: `extension or '.js'`.