Added ability to override default options in tern demo