phonegap + component boilerplate