Moved js file to lib directory.
Added travis-ci config file.