added div and moved the js