fix toggle button for new jquery version (#167)

Use prop instead of attr.