committing from vs.
added new js function