that's java aplet not javascript.
you could build it easily in javascript simply swapping images.
you stack several pics one of top of another. each of them have only one element of entire thing, and you change then depending on what client clicks.
piece of cake.
depending what you want to customize using this interface, taking photos and processing them afterwords might be a pain tho