Make div id as argument to function