Added use strict and other changes
removed void 9