make javscript library local