We all have passed that phase, our big and long script.js contained nothing but plugins initializing scripts and their options configuration scripts. There was a strong need of following two things: Make jQuery plugin initialization independent Store all the configuration in markup itself And then came in the data attributes in HTML5, just at the . . . read more