First work for checking for mobile screen in JS