Added more configuration options to the JS