Removed cors / cross-browser again to test cause of mistake with scanner button