Fixed support for older npm installs,
added git ignore