javascript library by mug foundation