add comma separated support and complete js format option