remove old detect js

Signed-off-by: TomWu <phperwuhan@gmail.com>