Updated foo.js to reflect the minimal boilerplate required to define
a module

Signed-off-by: Tobias Sjondin <tsjondin@op5.com>