Made Scripting Context global

uses global JavaScript context for scripting so all bound scripting
function can be accessed from any module
fixed scripting function jsModel to handle static and dynamic models
properly
added small example script to Mod module