Added correct travis hooks and npm install instructions