now initialize is called after DOM loads
snippet of legacy js was trashed