Java Script Part 3 - Changes for Currency conversion library

Created a library in .js file