Several performance updates

  * Switched to a data attribute for the toggle selector (separates
scripts from styles).
  * Added namespacing to IIFE.
  * Moved feature test to script itself for better progressive
enhancement.
  * Updated looping method.