js/myaction.js
/* Get sum of points of useractions and updates UI on the popup 
submission box to show sum of points.*/
Get sum of points of useractions and updates UI on the popup
submission box to show sum of points.
Get sum of points of useractions and updates UI on the popup submission box to show sum of points .
function subCheck(){
    calculatePoint();
    $("#score_content").append(
        '<h2>You will receive ' + sum + ' points. </h2>'
    );
}
function subCheck ( ) { calculatePoint ( ) ; $ ( "#score_content" ) . append ( '<h2>You will receive ' + sum + ' points. </h2>' ) ; }
Get sum of points of useractions and updates UI on the popup
submission box to show sum of points.
Get sum of points of useractions and updates UI on the popup submission box to show sum of points .