Sontrol buttons generated by js