Fixed phonegap.js link to be cordova.js (oops), initial version of initTops() and initBottoms()