Now uses Javascript buttons as only button generation method.