Add responsive checks for Javascript execution.