renaming and removal of methods to add similarity to javascript lib on desired-usage-examples.js from lib-javascript.