modified hdi JS
Merge branch 'berhacker'