Fixed NPM javascript display issue