check debug message in js|coffee file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>