Remove bootstrap window from mainjs