upload js code to libs