js functions file created, crazy that it has not existed until now
fast forward