Create lib.js

sample test library