Javascript: more function work
Javascript: Emitting source