fixed js new-window bug, removed unused migrations