added the cwave js file and modified the .gitignore