Create source.js

code for library