I don't see why this is a separate file from camera.js if you're not going to load it at a different time (from the head) and start the asyncStorage query before camera.js loads.  As it stands it seems to me that you could just include it in camera.js