updated to js.class and synthesize node libaries