add javascipt kall function that count hash