Guidelines to choose a JavaScript library