Now working in regular browser (cordova serve)