New appbase.js lib