Detect JS

Signed-off-by: cocolekat <cocolekat@gmail.com>