Simplified setup, using "data" attributes instead of having to edit the javascript