JS + functions

site functions