cleaning up layout for local phonegap