improved accuracy, v1.0 for tempo detection
fixed merging for tempo detection
fixed app.js merge issues