Fix bugs with credits
jshint