Update javascript library document and source