Simple environment checker for managing responsive JS