refactored error handling and handled the condition where no callback is passed into loadVideo method
updated package.json
added test suite