Add browser check, enable strict mode