make these JS libraries optional