Generates the button on the fly 

on class="expandmore", the button is added on the fly. Thanks to @Kozlika ;)