added 2 features on index.html & js controls