Fixet, Additional JS code for functionality