Javascript library to detect changes in browser screen size