Fix package; prepare for npm