trying to get rid of 'window.$'