An elegant way to manage your javascript library for web