simple and lightweight javascript widget library