var testClass = {
    testFunction: function(){
        alert('this is a test, Javascript can break easily so test your JS before use the CompressPlugin in production');
    }
};
testClass.testFunction();