Add library
Make preset configurable in views and pass settings to js