Client-side javascript lib