added use strict to app states lib