generic div id and javascript