Added JavaScript testing using Karma
Added composer.json file for the project