added 'method' parameter in service.js... deleted copyArray method from javaArray.js... modified .gitignore for DS_Store
merging