Feature Detection based on Haar Cascades in Javascript (Viola-Jones Algorithm)