create widget coordinates and clean up html

tried to make things stick to the grid better