Bug fixing: avoiding prototyping errors
Adding batch anomaly scores and local anomaly
Comment and typos changes
Jslint check and style changes