js static check