Refactored NDN development library in pure JavaScript