add metrics helper
add js metrics
Merge branch 'feature/issue-8-add-metrics' into develop