Added a minified version of the js, also refractored click actions to one single click element with data attribute action defining the action to be taken