Fixed hidden 'module' variable for npm packages