I have a last question (I hope), The code works with the default template, I tried to do it with a custom template but all the questions disappear. What things should i modified to adapt the code to my template?

Thanks to your great help I managed to get this type of question style working. However I would rather like to use the blue and grey template but with that I have to change something of the code to get it working. I am not familiar with js so i need your help!

Now I've got another question: In the same question group I want to put "normal" style questions after the javascripted array question. What do I need to do to make them not follow the styling of the questions beforehand? The following question wont line up normally and is horribly displaced.