how to open mobile app using javascript