Correct function wrapper for initial strings.js

Based on the example I drug out of the samples directory.