Created by: nextgenthemes
As already seen in the javascript docs the new ... were missing in the example, i added them