changed buttons for code selection in js tab