Assign valid js files rather than *.js

Signed-off-by: dingxin <dingxin.git@gmail.com>