Make js target depends on lint

lint the js code before build