removed device api as it doesnt work on android or build.phoengap