moving js to folder lib