Javascript implementation of the Monte Carlo Algorithm for robot localization