change js to javascript library