fix small things for ajs 0.17