move library source code into js directory
update source code formatting