moved 'use strict' out of global scope since it should apply only to intentionWrapper and not all javascript