Including the js merge function