Added data attributes for setting title and pin class. Closes #4.
Removed random ID for pins in favor of incremental. Closes #3.