option to choose the js lib