Stack of javascript libraries based on data-attributes and jquery