rebuilt bike database table so that only two fields are required. also added check in JS for bike attributes that are dictionaries