-switched all javascript to use strict mode