Fix checking for Android platform

Also removed problematic console.log
Merge pull request #1 from lubogospod/gospodinov/fixesAndroid

Fix checking for Android platform