compatible with 0.8+
add dependencies to package.json and fix incompliants