add brake feature and fix index.html location