right now the configurator uses HTML and CSS for displaying the buttons and images, while JavaScript is used in the buttons' behaviours to change the images shown, so that each button will replace the image in the configurator with the corresponding part.
since the positioning of the parts are currently hardcoded, I am looking into using JavaScript variables to run checks and adjust the image positioning to put parts in the right place with regards to rail, barrel and gas system lengths.