I do not know how to combined physlet library in EJS.
What do you mean by [b]make field lines drawn exactly the way it is drawn by  Physlet builder[/b]?
You want to add single coil one by one?
Double click to draw field line?
Let me know what you want (in detail)!