updated options html and js