Add proper jQuery dependancy using component.json
Make it really close on click + better event handling