javascript: satisfy hlint
javascript: string length