Minor fixes window => js