correction missing "var" keyword
add "use strict" for Scoreflex module