remove extra div and move script