Fixed some comments and filter method for feature space in JS.