Reduce requirements to 0.8 and add JSDoc comments