Added build support for JS client / dedicated as well as JS VM support