Javascript work on a bakery website