a simple thin js framework