Add product inventory
Fix to be jshint passed