moved JSRuntimeExn into its own file to satisfy eclipse compiler