(refactor) added 'use strict' to main and restaurants