Adding the correct js code - heh