a convenient way to add parameters
Add test
Merge pull request #7 from nLight/enchanced_function_parameter

A convenient way to pass parameters to javascript functions