Replace Result with Modifier and Target class
Make Target constructor available to all classes

See [1], [2]
[1] https://github.com/tschaub/stackoverflow-q14561874/compare/alt1
[2]
http://stackoverflow.com/questions/14561874/calling-jsfunction-from-javascript-typeerror-cannot-find-default-value-for-ob/14588793#14588793