A lightweight Javascript toolkit for apps