Added settings.js and implemented hook_deviceready().